![]() |
MPGetNextCpuID |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Obtains the next CPU ID in the list of physical processors of the specified memory coherence group.
OSStatus MPGetNextCpuID ( MPCoherenceID owningCoherenceID, MPCpuID *cpuID );
The ID of the memory coherence group whose physical processor IDs you want to obtain. Pass kMPInvalidIDErr, as only one coherence group, internal RAM, is currently defined.
On return, cpuID points to the ID of the next physical processor.
A result code.
By iterating on this function (after calling MPProcessors, for example), you can obtain the IDs of all the processors available on the host computer. Generally you would only use this function in diagnostic programs.
Introduced with Multiprocessing Services 2.1.
Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.1 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)